package cn.iocoder.yudao.module.crm.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 课程套餐 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CoursePackageRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4837")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "所属栏目")
    private Long subjectId;

    @Schema(description = "套餐名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("套餐名称")
    private String name;

    @Schema(description = "套餐图片")
    @ExcelProperty("套餐图片")
    private String icon;

    @Schema(description = "套餐内容")
    @ExcelProperty("套餐内容")
    private String content;

    @Schema(description = "套餐类型", example = "2")
    @ExcelProperty("套餐类型")
    private String type;

    @Schema(description = "原价", requiredMode = Schema.RequiredMode.REQUIRED, example = "13134")
    @ExcelProperty("原价")
    private BigDecimal originalPrice;

    @Schema(description = "销售价", requiredMode = Schema.RequiredMode.REQUIRED, example = "26306")
    @ExcelProperty("销售价")
    private BigDecimal salePrice;

    @Schema(description = "成本价", example = "3526")
    @ExcelProperty("成本价")
    private BigDecimal costPrice;

    @Schema(description = "协议ID，外键关联crm_protocol表", example = "13302")
    @ExcelProperty("协议ID，外键关联crm_protocol表")
    private Long protocolId;

    @Schema(description = "展示顺序")
    @ExcelProperty("展示顺序")
    private Integer sort;

    @Schema(description = "套餐状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("套餐状态")
    private Integer coursePackageStatus;

    @Schema(description = "有效期类型", example = "1")
    @ExcelProperty("有效期类型")
    private String expirationType;

    @Schema(description = "开始时间")
    @ExcelProperty("开始时间")
    private LocalDateTime beginDate;

    @Schema(description = "结束时间")
    @ExcelProperty("结束时间")
    private LocalDateTime endDate;

    @Schema(description = "首页显示状态。{ 0：显示；1：隐藏；}", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("首页显示状态。{ 0：显示；1：隐藏；}")
    private Integer homeShowStatus;

    @Schema(description = "课程编号数组")
    private Set<Long> courseIds;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("是否已禁用。{ 0：正常；1：禁用；}")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}